package com.neepu.dao;

import com.neepu.pojo.Dutresult;
import com.neepu.pojo.Scourse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InfoManagerMapper {

    List<Scourse> getTeacherByStudentId(String studentID);

    List<Scourse> getTeacherByTeacherId(String teacherID);

    List<Scourse> getAllTeacher();

    Scourse getTeacherById(Integer id);

    void updateScourse(@Param("studentID")  String studentID, @Param("sourceID") String sourceID);

    List<Scourse> getTeacherByStudentIdAndStatus(@Param("userID") String userID, @Param("status") int status);
}
